(function(K) {
	
K.classLoader().
provides("tk.k90tools.lang.String").
load(function() {
	
	return {
		contains : function(string, content) {
			return new String(string).indexOf(content) != -1;
		},
		
		ucFirst : function(string) {
			string = new String(string);
		    return string.charAt(0).toUpperCase() + string.substr(1);
		},
		
		trim : function(string) {
            return new String(string).replace(/^\s+|\s+$/g, "");
		},
		
		startsWith : function(string, prefix) {
			return new String(string).indexOf(prefix) == 0;
		},
		
		endsWith : function(string, suffix) {
			string = new String(string);
			suffix = new String(suffix);
			return string.indexOf(suffix) == string.length - suffix.length;
		},
		
		equalsIgnoreCase : function(string, anotherString) {
			return new String(string).toLowerCase() == new String(anotherString).toLowerCase();
		}
	};

});

})(k90tools);